<title>客户分析</title>

<div class="page animation-fade">
    <div class="page-header page-header-bordered">
        <h1 class="page-title">客户分析</h1>
        <div class="page-header-actions">
            <select class="form-control" id="prjId" name="prjId" data-plugin="select2"
                    style="width: 200px;">
                <option value="">选择二级配送中心</option>
                #foreach( $prj in $prjList )
                <option value="${prj.deliveryId}">${prj.deliveryCenter}</option>
                #end
            </select>
        </div>
    </div>
    #parse("/common/loading.html")
    <div class="page-content">
        <div class="row">
            <div class=" col-md-6">
                <div class="panel panel-bordered">
                    <div class="panel-heading">
                        <h3 class="panel-title">二级配送中心售达方订单量分布</h3>
                        <div class="panel-actions">

                        </div>
                    </div>
                    <div class="panel-body padding-3 height-350" style="width:100%">
                         #parse("/lpp/network/supply/custom/bar1.html")
                    </div>
                </div>
            </div>
            <div class=" col-md-3">
                <div class="panel panel-bordered">
                    <div class="panel-heading">
                        <h3 class="panel-title">各销售渠道售达方订单量及订货频次分布</h3>
                        <div class="panel-actions">

                        </div>
                    </div>
                    <div class="panel-body padding-3 height-350" style="width:100%">
                        <select class="form-control" id="primarySales" name="primarySales" data-plugin="select2"
                                style="width: 200px;">
                        </select>
                        #parse("/lpp/network/supply/custom/bar2.html")
                    </div>
                </div>
            </div>
            <div class=" col-md-3">
                <div class="panel panel-bordered">
                    <div class="panel-heading">
                        <h3 class="panel-title">二级配送中心售达方各月订单量分布</h3>
                        <div class="panel-actions">

                        </div>
                    </div>
                    <div class="panel-body padding-3 height-350" style="width:100%">
                        <select class="form-control" id="sales" name="sales" data-plugin="select2"
                                style="width: 200px;">

                        </select>
                        #parse("/lpp/network/supply/custom/bar4.html")
                    </div>
                </div>
            </div>


            <div class=" col-md-6">
                <div class="panel panel-bordered">
                    <div class="panel-heading">
                        <h3 class="panel-title">各订单类型售达方订单量分布</h3>
                        <div class="panel-actions">

                        </div>
                    </div>
                    <div class="panel-body padding-3 height-350" style="width:100%">
                        #parse("/lpp/network/supply/custom/bar3.html")
                    </div>
                </div>
            </div>


            <div class=" col-md-3">
                <div class="panel panel-bordered">
                    <div class="panel-heading">
                        <h3 class="panel-title">各销售渠道</h3>
                        <div class="panel-actions">


                      <!--      <a class="btn btn-inverse btn-round dropdown-toggle" data-toggle="dropdown" href="#">
                                <span id='return-button'>返回</span>
                            </a>-->
                        </div>
                    </div>
                    <div class="panel-body padding-3 height-350" style="width:100%">
                        <select class="form-control" id="primarySales1" name="primarySales1" data-plugin="select2"
                                style="width: 200px;">

                        </select>
                        #parse("/lpp/network/supply/custom/bar5.html")
                    </div>
                </div>
            </div>
            <div class=" col-md-3">
                <div class="panel panel-bordered">
                    <div class="panel-heading">
                        <h3 class="panel-title">各订单类型售达方各月订单量分布</h3>
                        <div class="panel-actions">

                    <!--        <a class="btn btn-inverse btn-round dropdown-toggle" data-toggle="dropdown" href="#">
                                <span id='return-button2'>返回</span>
                            </a>-->
                        </div>
                    </div>
                    <div class="panel-body padding-3 height-350" style="width:100%">
                        <select class="form-control" id="orderType" name="orderType" data-plugin="select2"
                                style="width: 200px;height:10px;">

                        </select>
                        #parse("/lpp/network/supply/custom/bar6.html")
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<script src="/static/public/vendor/matchheight/jquery.matchHeight.min.js"></script>
<script type="text/javascript">
    var optionLength=document.getElementById("prjId").options.length;
    if(optionLength==1){
        toastr.error('订单数据没有数据，请导入上传数据');
    }
</script>
